/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package OpenCodes.Servicios;

import OpenCodes.Persistencia.AbstractDB;
import OpenCodes.Persistencia.MySQL.IRepositorioGenerico;
import OpenCodes.Servicios.IServicioGenerico;
import java.util.List;

/**
 *
 * @author Administrador
 */
public abstract class ServicioGenerico<UI> implements IServicioGenerico<UI> {
    private AbstractDB fabricaDb;
    @Override
    public void init() {
       fabricaDb = AbstractDB.getInstance();
    }
   

    @Override
    public void agregar(UI interfaz) throws ServicioException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void modificar(UI interfaz) throws ServicioException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void eliminar(UI interfaz) throws ServicioException {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void listar(UI interfaz) throws ServicioException {
        throw new UnsupportedOperationException("Not supported yet.");

        

    }

    
}
